<form id="validate" enctype="multipart/form-data" method="post" action="functions/crud/crud_materi.php">

	<div class="row-fluid">
		<div class="span12">                

			<div class="block">                                   
				<div class="data-fluid">
					<div class="row-form">
						<div class="span3">Kelas</div>
						<div class="span5">
							<select name="tipe_kelas" class="select" style="width: 100%;">
								<?php 
									$q_kelas = mysql_query("select tipe from kelas group by tipe");
									while($dt_kelas = mysql_fetch_array($q_kelas)){?>
										<option value="<?php echo $dt_kelas['tipe']; ?>"><?php echo $dt_kelas['tipe']?></option>
								<?php 
									} ?>
								                                                                    
							</select>
						</div>
					</div>
					<div class="row-form">
						<div class="span3">Nama Materi</div>
						<div class="span9"><input type="text" name="nama" placeholder="nama materi"/></div>
					</div>
					<div class="row-form">
						<div class="span3">File Materi</div>
						<div class="span9"> 
								  
								<input type="file" name="file"/>
								                    
						</div>
					</div>   
				
					<div class="row-form">
						<div class="span3">Pertemuan ke</div>
						<div class="span3">  
							<input type="text" name="pertemuan" id="spinner" value="1"/>
						</div>
					</div>
					<div class="row-form">
						<div class="span3"></div>
						<div class="span9">                         		
							<input type="submit" value="Ok" name="submit" class="btn" />
							<input type="hidden" value="<?php echo ID_GURU; ?>" name="guru"/>
							<input type="hidden" value="add" name="operation"/>
							<input type="reset" value="Cancel" name="submit" class="btn btn-warning" />  
						</div>   
					</div>
				</div>        
			</div>
		</div>  
	</div> 
</form>
